package com.hezhiqin.springbootmycat;

import com.hezhiqin.springbootmycat.datasource.DynamicDataSourceConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@MapperScan(basePackages = {"com.hezhiqin.springbootmycat.mapper"})
public class SpringBootMycatApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootMycatApplication.class, args);
    }

}
